package com.letoken.platform.repo.admin.res.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author wyl
 * @date 2022/12/10
 */
@Data
@ApiModel(value = "用户资产流水返回对象", description = "用户资产流水返回对象")
public class QueryAssetsHistoryRes {

    @ApiModelProperty(value = "币种")
    private String tokenCurrency;

    @ApiModelProperty(value = "流水类型")
    private String typeDesc;

    @ApiModelProperty(value = "变更的数量")
    private BigDecimal quantityChange;

    @ApiModelProperty(value = "变更后的数量")
    private BigDecimal modifiedBalance;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
}
